package com.resys.service;

import java.util.List;

import com.resys.entity.query.CancellationrequestQuery;
import com.resys.entity.po.Cancellationrequest;
import com.resys.entity.vo.PaginationResultVO;


/**
 *  业务接口
 */
public interface CancellationrequestService {

	/**
	 * 根据条件查询列表
	 */
	List<Cancellationrequest> findListByParam(CancellationrequestQuery param);

	/**
	 * 根据条件查询列表
	 */
	Integer findCountByParam(CancellationrequestQuery param);

	/**
	 * 分页查询
	 */
	PaginationResultVO<Cancellationrequest> findListByPage(CancellationrequestQuery param);

	/**
	 * 新增
	 */
	Integer add(Cancellationrequest bean);

	/**
	 * 批量新增
	 */
	Integer addBatch(List<Cancellationrequest> listBean);

	/**
	 * 批量新增/修改
	 */
	Integer addOrUpdateBatch(List<Cancellationrequest> listBean);

	/**
	 * 多条件更新
	 */
	Integer updateByParam(Cancellationrequest bean,CancellationrequestQuery param);

	/**
	 * 多条件删除
	 */
	Integer deleteByParam(CancellationrequestQuery param);

	/**
	 * 根据CancellationId查询对象
	 */
	Cancellationrequest getCancellationrequestByCancellationId(Integer cancellationId);


	/**
	 * 根据CancellationId修改
	 */
	Integer updateCancellationrequestByCancellationId(Cancellationrequest bean,Integer cancellationId);


	/**
	 * 根据CancellationId删除
	 */
	Integer deleteCancellationrequestByCancellationId(Integer cancellationId);

}